<footer>
	<div class="container">
		<div class="row">
			{% if informations %}
				<div class="col-xs-3">
					<h5>{{ text_information }}</h5>
					<ul class="list-unstyled">
						{% for information in informations %}
							<li><a href="{{ information.href }}">{{ information.title }}</a></li>
						{% endfor %}
					</ul>
				</div>
			{% endif %}
			<div class="col-xs-3">
				<h5>{{ text_service }}</h5>
				<ul class="list-unstyled">
					{#<li><a href="{{ contact }}">{{ text_contact }}</a></li>#}
					<li><a href="{{ return }}">{{ text_return }}</a></li>
					<li><a href="{{ sitemap }}">{{ text_sitemap }}</a></li>
				</ul>
			</div>
			<div class="col-xs-3">
				<h5>{{ text_extra }}</h5>
				<ul class="list-unstyled">
					<li><a href="{{ manufacturer }}">{{ text_manufacturer }}</a></li>
					<li><a href="{{ voucher }}">{{ text_voucher }}</a></li>
					<li><a href="{{ affiliate }}">{{ text_affiliate }}</a></li>
					{#<li><a href="{{ special }}">{{ text_special }}</a></li>#}
				</ul>
			</div>
			<div class="col-xs-3">
				<h5>{{ text_account }}</h5>
				<ul class="list-unstyled">
					<li><a href="{{ account }}">{{ text_account }}</a></li>
					<li><a href="{{ order }}">{{ text_order }}</a></li>
					<li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
					<li><a href="{{ newsletter }}">{{ text_newsletter }}</a></li>
				</ul>
			</div>
		</div>
	</div>
	<p class="footer-bottom">{{ powered }}</p>
	<div class="fixed-shortcut-wrapper">
		<div class="product-compare-footer">
			<a href="{{ helper.url.link("product/compare") }}"><i class="icon compare"></i>
				{% if helper.compareCounts() > 0 %}
					<span class="direwolf-badge compare">{{ helper.compareCounts() }}</span>
				{% else %}
					<span class="direwolf-badge compare hidden"></span>
				{% endif %}
			</a>
		</div>
		<div class="shortcut hidden-sm hidden-xs">
			<a href="javascript:void 0;"><i class="icon chat" aria-hidden="true"></i></a>
			<a href="{{ helper.url.link("checkout/cart") }}"><i class="icon cart" aria-hidden="true"></i>
				{% if helper.cartCounts() > 0 %}
					<span class="direwolf-badge cart">{{ helper.cartCounts() }}</span>
				{% else %}
					<span class="direwolf-badge cart hidden"></span>
				{% endif %}
			</a>
			<a href="{{ wishlist }}"><i class="icon favor" aria-hidden="true"></i>
				{% if helper.wishCounts() > 0 %}
					<span class="direwolf-badge wish">{{ helper.wishCounts() }}</span>
				{% else %}
					<span class="direwolf-badge wish hidden"></span>
				{% endif %}
			</a>
			{#<a href="{{ account }}"><i class="fa fa-user-circle-o" aria-hidden="true"></i></a>#}
		</div>
		<div class="go-top">
			<a href="#" class="scroll-top"><i class="fa fa-chevron-up" aria-hidden="true"></i>TOP</a>
		</div>
	</div>

	<!-- 弹出模态窗口-->
	<div class="modal fade" tabindex="-1" id="agree-modal">
		<div class="modal-dialog  modal-lg">
			<div class="modal-content">
				<div class="modal-header">
					{#<button type="button" class="close" data-dismiss="modal">×</button>#}
					<h4 class="modal-title"></h4>
				</div>
				<div class="modal-body">

				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
</footer>
{% for script in scripts %}
	<script src="{{ script }}" type="text/javascript"></script>
{% endfor %}



<script type="text/javascript">

    var showAlert = function(type, content , hide_btn) {
        if (type === 'cart') {
            redirectButtonText = '{{ button_checkout }}';
            redirectButtonLocation = '{{ helper.url.link("checkout/cart") }}';
        } else if (type === 'wishlist') {
            redirectButtonText = '{{ button_wishlist_watch }}';
            redirectButtonLocation = '{{ wishlist }}';
        } else if (type === 'compare') {
            redirectButtonText = '{{ button_compare_watch }}';
            redirectButtonLocation = '{{ helper.url.link("product/compare") }}';
        } else if (type === 'compare-full') {
            redirectButtonText = '{{ button_go_delete }}';
            redirectButtonLocation = '{{ helper.url.link("product/compare") }}';
		}

        layer.open({
            skin: 'jd-layui',
            title: ' ', //{{ text_layer_popup_title }}
            btnAlign: 'c',
            shadeClose: true,
            content: content,
            btn: hide_btn ? '' : [redirectButtonText], // '{{ button_continue_shopping }}'
            yes: function() {
                window.location = redirectButtonLocation;
            }
        });
    }
</script>

<!-- direwolf 由 www.panxsoft.com 出品 2018 (c) 帕克西软件开发有限公司 版权所有 -->
{{ helper.debug_bar.render }}
</body></html>
